package com.example.demo.service;

import com.example.demo.entity.Hotel;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @program: demo
 * @description:
 * @author: Lelouch
 * @create: 2024-09-05 12:15
 **/
public interface HotelService {
    PageInfo<Hotel> list();
    List<Hotel> search(String hotelname,String city);

    Integer currentNum(Integer hotelId);
}
